package liuliu.throughwaring.control.main;

import android.content.Context;
import android.widget.ImageView;

import liuliu.throughwaring.control.task.QueryTask;

/**
 * Created by liuliu on 2015/11/11   11:37
 *
 * @author 柳伟杰
 * @Email 1031066280@qq.com
 */
public class MainListener {
    IMainView iMainView;
    Context mContext;
    QueryTask queryTask;

    public MainListener(Context context, IMainView mainView) {
        this.mContext = context;
        this.iMainView = mainView;
        queryTask = new QueryTask(mContext);
    }

    public void getHelpPolice() {
        queryTask.getHelp(iMainView);
    }

}
